package lk.icta.core.dao;

import lk.icta.core.entity.Taxation;
import lk.icta.user.entity.User;

import java.util.List;

/**
 * @author Supun Viraj Rathnayaka
 */
public interface TaxationDAO {

    /**
     * Retreive all entered past and current taxation data
     * @return full list of taxation data 
     */
    List<Taxation> getAllTaxationData();

    void addTaxation(Taxation taxation, User user);

    Taxation getPreviousTaxation();

    void updateTaxation(Taxation t, User user);
}
